#ifndef SHAKEANIMATION_H_
#define SHAKEANIMATION_H_

#include "Animation.h"

class ShakeAnimation : public Animation
{
public:
    ShakeAnimation();
    virtual ~ShakeAnimation();

    virtual void update(double factor);
    virtual void render(const Position& parent);
    virtual void init();

private:
    Position origo;
    Position delta;
    double scale;
};

#endif
